package com.tsingteng.cosfun.ui.cosfun.imodel;

import com.tsingteng.cosfun.bean.UserBean;
import com.tsingteng.cosfun.callback.RxObserver;
import com.tsingteng.cosfun.http.RxSchedulers;
import com.tsingteng.cosfun.mvp.module.BaseModel;

/**
 * 描述 :
 * 创建人: 肖利.
 * 时间:2018/9/10
 * qq(872179966)
 */

public class ShareModle extends BaseModel implements IShareModel{
    @Override
    public void getXiPuTranspone(String object_id, RxObserver<Integer> callback) {
        doRxRequest().getXiPuTranspone(object_id).compose(RxSchedulers.io_main()).subscribe(callback);
    }

    @Override
    public void getVideoTranspone(String video_id, RxObserver<Integer> callback) {
        doRxRequest().getVideoTranspone(video_id).compose(RxSchedulers.io_main()).subscribe(callback);
    }
}
